xend: Use AUTO_PHP_SLOT_STR=0xff rather than 0x0 for auto pci allocation
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 17 Mar 2009 10:42:32 +0000 (10:42 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 17 Mar 2009 10:42:32 +0000 (10:42 +0000)
commit33548d1102318e40e4d7b9d234b513f309bde741
tree00a3997d612d6963de8d492338da32fe41843e1f
parent27db6136ea3b03d8711a7901a437b1f76030c9d9
xend: Use AUTO_PHP_SLOT_STR=0xff rather than 0x0 for auto pci allocation

Rather than use "0x0" to signify that the hotplug slot should
be automatically selected by qemu-dm, define AUTO_PHP_SLOT_STR.

At the same time, change the magic value form 0x0 to 0xff,
in line with changes made to qemu-dm to allow any unused PCI
device to be used for hotplug.

Signed-off-by: Simon Horman <horms@verge.net.au>
tools/python/xen/xend/XendConstants.py
tools/python/xen/xend/XendDomainInfo.py
tools/python/xen/xend/server/pciif.py
tools/python/xen/xm/main.py